@import '../../../vendor/func';

#root {
    margin-top: 60px;
    text-align: center;
    & i.beer {
        margin: 0 auto;
        display: block;
        width: 96px;
        height: 96px;
        @mixin background-retina ./images/Beer, png, 96px, 96px; /*todo: by svg*/
    }
}

#root .licenses {
    position: relative;
    min-height: 350px;
    padding-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 960px) {
    #root .licenses {
        align-items: flex-start;
        justify-content: center;
        flex-direction: row;
    }

    #root .licenses .license.order_0 {
        z-index: 2;
        margin: -3rem -10px 1rem
    }
}

#root .licenses .show_on_mobile {
    display: none
}

@media (max-width: 960px) {
    #root .licenses {
        padding-top:0
    }

    #root .licenses .license,#root .licenses .license_body:not(.wide) {
        min-width: 80vw
    }

    #root .licenses .license_body.wide {
        margin-left: auto
    }

    #root .licenses .show_on_mobile {
        display: inherit
    }

    #root .licenses .hide-on-mobile {
        display: none
    }
}

#root .license {
    width: 320px;
    margin-top: 20px;
}

#root .license.wide {
    width: 390px;
    margin-top: 1.5rem
}

#root .license.wide .license_title {
    font-size: 28px
}

#root .license.medium {
    width: 400px
}

#root .license ul {
    text-align: left;
    font-size: 16px;
    margin: .5rem 0 1rem
}

#root .license ul li {
    color: #ddd
}

#root .license ul li span {
    color: #888
}

#root .license p {
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    margin: 1rem 0 .5rem 2.5rem
}

#root .license p.light {
    font-size: 16px;
    font-weight: 400;
    margin: .5rem 0 .5rem 2.5rem
}

#root .license p.wide {
    font-weight: 400;
    margin: .5rem 0 2.5rem .5rem
}

#root .license_body {
    width: 320px;
    min-height: 248px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 40px rgba(0,0,0,.18);
    padding: 1rem 2.5rem 7rem;
    position: relative;
    color: #666;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

#root .license_price {
    /*font-family: Sanchez,serif;*/
    font-size: 28px;
    font-weight: 400;
    color: #ff4d4d
}

#root .license_price_item {
    display: block;
    font-size: 18px;
    border-top: 1px solid #e4e4e4;
    line-height: 60px;
    height: 60px;
    margin: 0;
    padding: 0 2rem;
    position: relative
}

#root .license_price_item .license_price_product {
    text-align: left;
    float: left;
    width: 35%
}

#root .license_price_item .license_price_value {
    text-align: left;
    color: #32c24d;
    font-weight: 700
}

#root .license_price_item .license_price_discount {
    float: right;
    color: #ffbe00;
    min-width: 5rem
}

#root .license_price_item .license_price_info {
    font-size: 14px;
    line-height: 1.3;
    vertical-align: middle;
    display: inline-block;
    margin-top: -6px
}

#root .license_price_item .license_price_info .orange {
    color: #ffbe00
}

#root .license_price_item .accent {
    color: #ff4d4b
}

#root .license_price_item.buy_for,#root .license_price_item.buy_for .license_price_value {
    transition: all .3s ease
}

#root .license_price_item.buy_for.active,#root .license_price_item.buy_for:hover {
    cursor: pointer;
    background: #ff4d4b
}

#root .license_price_item.buy_for.active,#root .license_price_item.buy_for.active .license_price_value,#root .license_price_item.buy_for:hover,#root .license_price_item.buy_for:hover .license_price_value {
    color: #fff
}

#root .license_price_item .license_price_hover {
    position: absolute;
    top: 0;
    left: 100%;
    bottom: 0;
    width: 100%;
    background: #ff4d4b;
    color: #fff;
    transition: all .3s ease;
    cursor: pointer
}

#root .license_price_item .license_price_hover.short {
    width: 45%
}

#root .license_price_item .license_price_hover.block {
    padding-top: 38px
}

#root .license_price_item .license_price_hover.block:before {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    top: 50%;
    left: 50%;
    margin-top: -16px;
    margin-left: -16px;
    animation: spin 1s linear infinite
}

#root .license_price_item.hover {
    overflow: hidden
}

#root .license_price_item.hover.active .license_price_hover, #root .license_price_item.hover:hover .license_price_hover {
    left: 0
}

#root .license_price_item.hover.active .license_price_hover.short, #root .license_price_item.hover:hover .license_price_hover.short {
    left: 55%
}

#root .license_footer {
    border-radius: 0 0 5px 5px;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #efefef;
}

#root .license_title {
    font-size: 26px;
    line-height: 46px;
    color: #32c24d;
    margin-bottom: .3rem;
    position: relative
}
